ECHO "Sorry, this script needs AmigaOS 3.0 (V39)."
ECHO "See document section 1.3 for manual installation."
QUIT
ENDIF
ENDIF
; Print out the intro text in XEN font point size 11
IF EXISTS FONTS:XEN/11
SETFONT XEN 11
ENDIF
ECHO "*N*E[43m "
ECHO " This script will install *E[32mStringer V2.1*E[31m into your system. "
ECHO " "
ECHO "*E[0m*N1. The executable Stringer is copied to your C: assign"
ECHO "2. The preference file you choose is copied to ENV: and ENVARC:"
ECHO "3. Options 3 and 4 below copy an AREXX script to REXX:*N"
; Ask if the user wants to install or not
REQUESTCHOICE TITLE "Stringer Installation" BODY "Do you want to install Stringer now ?" GADGETS Install Quit >env:strch1
IF $strch1 NOT EQ 1
UNSETENV strch1
QUIT
ENDIF
; Print out the install choices
ECHO "*N*E[32mSelect one of the following default preferences:*E[0m*N"
ECHO "1. Plain ASCII, uses More for a pager"
ECHO "2. ANSI colors, uses More for a pager"
ECHO "3. ANSI colors, uses Most for a pager"
ECHO "4. ANSI colors, uses Vinci for a pager*N"
; Request a choice from the user
REQUESTCHOICE TITLE "Stringer Installation" BODY "Choose your preferred selection" GADGETS " Plain More " " ANSI More " " ANSI Most " " ANSI Vinci " >env:strch1